From bb893a188a082f9ad28aedd48f748383da79c8ef Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sat, 6 Aug 2005 15:47:20 +0000 Subject: [PATCH] Fix perfc_defn.h to allow multiple inclusion. --- xen/include/xen/perfc_defn.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h index abc17e0b68..5326f3bdbc 100644 --- a/xen/include/xen/perfc_defn.h +++ b/xen/include/xen/perfc_defn.h @@ -1,5 +1,6 @@ -#ifndef __XEN_PERFC_DEFN_H__ -#define __XEN_PERFC_DEFN_H__ +/* This file is legitimately included multiple times. */ +/*#ifndef __XEN_PERFC_DEFN_H__*/ +/*#define __XEN_PERFC_DEFN_H__*/ #define PERFC_MAX_PT_UPDATES 64 #define PERFC_PT_UPDATES_BUCKET_SIZE 3 @@ -124,4 +125,4 @@ PERFCOUNTER_CPU(remove_write_predicted, "remove_write predict hit&exit") PERFCOUNTER_CPU(remove_write_bad_prediction, "remove_write bad prediction") PERFCOUNTER_CPU(update_hl2e_invlpg, "update_hl2e calls invlpg") -#endif /* __XEN_PERFC_DEFN_H__ */ +/*#endif*/ /* __XEN_PERFC_DEFN_H__ */ -- 2.30.2